package com.ziyun.pop.modules.order.dao;

import com.ziyun.pop.modules.order.entity.ErpOrderAllotRelevanceEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * erp订单分配关联表
 * 
 * @author gaosheng
 * @email 971691130@qq.com
 * @date 2018-10-04 16:44:27
 */
public interface ErpOrderAllotRelevanceDao extends BaseMapper<ErpOrderAllotRelevanceEntity> {

    /**
     * 数据更新
     * @param updateMap
     * @param oarId
     * @return
     */
    int updateByMap(@Param("map") Map<String, Object> updateMap, @Param("oarId") Integer oarId);

    int cancleAllotInfo(Integer productionId);
}
